package com.subsequent.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 医生排班规则表
 * @TableName schedule_rules
 */
@TableName(value ="schedule_rules")
@Data
public class ScheduleRules implements Serializable {
    /**
     * 规则ID
     */
    @TableId(type = IdType.AUTO)
    private Integer ruleId;

    /**
     * 医生ID
     */
    private Integer doctorId;

    /**
     * 星期几(1-7)
     */
    private Integer weekday;

    /**
     * 时间段
     */
    private String timeSlot;

    /**
     * 最大预约数
     */
    private Integer maxAppointments;

    /**
     * 是否可用：0-否 1-是
     */
    private Integer isAvailable;

    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 更新时间
     */
    private Date updatedAt;
    private String wubie;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}